﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using WCFMINERP.InnerFactory.Forms;

namespace WCFMINERP.InnerFactory
{
    static class Program
    {
        /// <summary>
        /// 应用程序的主入口点。
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            int factoryId = Properties.Settings.Default.FactoryId;
            if (factoryId != 0)
            {
                Application.Run(new FrmLogin());
            }
            else
            {
                Application.Run(new FrmActive());
            }
            
        }
    }
}
